<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:p="http://primefaces.org/ui"
     xmlns:a="http://xmlns.jcp.org/jsf/passthrough"
     xmlns:c="http://java.sun.com/jsp/jstl/core"
     template="TemplateCarrierSpace.xhtml" >
     
     <ui:define name="body2" >
     
     
     <p:dataTable var="a" value="#{espaceUsersMB.listePaiement()}" >
     <f:facet name="header"> My Payment to Movecargo</f:facet>
     
     <p:column headerText="Shipment No.">
     	<p:outputLabel value="#{a.offre.idOffre}" />
     </p:column>
     
     
     <p:column headerText="Client ID">
     	<p:outputLabel value="#{a.client.CID}" />
     </p:column>
     
     
     
     <p:column headerText="Shipper Name">
     	<p:outputLabel value="#{a.client.nom}"/>
     </p:column>
     
     <p:column headerText="Date of Payment">
     	<p:outputLabel value="#{a.dateCreation}"/>
     </p:column>
     
     <p:column headerText="Expiry Date">
     	<p:outputLabel value="#{a.dateExpiration}"/>
     </p:column>
     
     <p:column headerText="Payment For">
      	<p:outputLabel value="#{a.raison}"/>
     </p:column>
     
     <p:column headerText="Payment Status">
        <c:if test="#{a.StatutPaiement}" >
           <p:outputLabel value="Paid" />
        </c:if>
                <c:if test="#{!a.StatutPaiement}" >
           <p:outputLabel value="Pending" />
        </c:if>
     </p:column>
     
     </p:dataTable>
     
     </ui:define>
     </ui:composition>